package stu.sup.service;

import stu.sup.entity.Coupon;

import java.util.List;

/**
 * Created by HUAWEI on 2020/6/27.
 */
public interface IUserCouponService {
    //给某个用户添加优惠卷
    int addCoupon(int UserId,int CouponId);
    //删除某个用户已使用的优惠卷
    int delateCoupon(int UserId,int CouponId);
    //查询某个用户拥有的优惠卷
    List<Coupon> selecthave(int UserId);
}
